import {request} from '@/utils/request'
export function getTenantList(params) {
    return request({
        url: '/api/fizz-manager/blade-system/tenant/list',
        method: 'get',
        params
    })
}
export function saveTenantForm(data) {
    return request({
        url: '/api/fizz-manager/blade-system/tenant/submit',
        method: 'post',
        data
    })
}
export function deleteTenant(ids) {
    return request({
        url: '/api/fizz-manager/blade-system/tenant/remove?ids='+ids,
        method: 'post',
    })
}
export function getTenantDetail(ids) {
    return request({
        url: '/api/fizz-manager/blade-system/tenant/detail?id='+ids,
        method: 'get',
    })
}
export function settingTenant(accountNumber,expireTime,ids) {
    return request({
        url: `/api/fizz-manager/blade-system/tenant/setting?accountNumber=${accountNumber}&expireTime=${expireTime}&ids=${ids}`,
        method: 'post',
    })
}
